package fuck;

public class Student {
    public String name;
    public  int age ;
    public  String gender;
    private  int money =123;


    private void show(){
        System.out.println("私有，无惨无返");
    }
    public  void function1(){
        System.out.println("function1公共，无参无返");
    }
    public  void function2(String name){
        System.out.println("function2公共，有参无返"+name);
    }
    public  String function3(){
        System.out.println("function3公共，无参有返");
        return "ab";
    }
    public  String function4(String name){
        System.out.println("function4公共，有参有返"+name);
        return "ab";
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                ", money=" + money +
                '}';
    }
}
